#include "Led.h"

/*宏定义*/
#define LEDPIN 15

/*全局变量*/
volatile uint8_t led_switch = 0;//控制led灯带开关 0--关灯 1--开灯

/*全局函数*/
void Led_Init(void)
{
    pinMode(LEDPIN, OUTPUT);

    digitalWrite(LEDPIN, LOW);

    Serial.println("Led Init success");
}

void Led_Open(void)
{
    digitalWrite(LEDPIN, HIGH);
    Serial.println("Led Open");
}

void Led_Close(void)
{
    digitalWrite(LEDPIN, LOW);
    Serial.println("Led Close");
}